'Declaration Public Overloads Shared Function GetUniqueValues( _ ByVal dataSource As IEnumerable, _ ByVal view As Dictionary(Of String,Object), _ ByVal fieldName As String, _ ByVal cancelToken As CancellationToken _ ) As Task(Of IList)
public static Task<IList> GetUniqueValues( IEnumerable dataSource, Dictionary<string,object> view, string fieldName, CancellationToken cancelToken )
Parameters
- dataSource
- Data source collection.
- view
- View definition used for performing aggregation.
- fieldName
- The name of the field to provide unique values for.
- cancelToken
- Enables task cancellation.
Return Value
Collection of objects with properties Name (string) and Type (System.Type)